package com.kandinfo.base.security.service;

import java.util.List;

import com.kandinfo.base.common.service.Service;
import com.kandinfo.base.security.domain.UserRole;
import com.kandinfo.base.security.repository.UserRoleRepository;

public interface UserRoleService extends Service<UserRole, Long, UserRoleRepository> {

    List<UserRole> findByRoleId(Long roleId);

    List<UserRole> findByUserId(Long roleId);
    
    List<UserRole> findByRidUid(Long sId,Long dId);
}
